package com.pangsir.bookstore.dao.impl;

import com.pangsir.bookstore.dao.UserDao;
import com.pangsir.bookstore.pojo.User;
import com.pangsir.myssm.basedao.BaseDAO;

public class UserDaoImpl extends BaseDAO<User> implements UserDao {
    @Override
    public User getUserByUnameAndPwd(String uname, String pwd) {
        String sql = "select * from t_user where uname like ? and pwd like ?";
        return super.load(sql,uname,pwd);
    }
}
